Combined RGB and IR Imaging Sensor

ABSTRACT

An imaging system suitable for use in a vehicle includes an imaging sensor having a two-dimensional array of photosensing elements, an image processor for processing image data captured by the imaging sensor, and a display for displaying images responsive to the image processor. The array has a plurality of sub-arrays, with each of the sub-arrays having a first pixel sensing primarily a first color, a second pixel sensing primarily a second color, a third pixel sensing primarily a third color and a fourth pixel sensing primarily infrared radiation. The image processor processes the output of the fourth pixel to determine an infrared component of the imaged scene and subtracts the infrared component from the outputs of the first, second and third pixels to obtain a more accurate or true color response for the pixels and to limit or avoid infrared color wash-out.

CROSS REFERENCE TO RELATED APPLICATION

The present application claims the benefit of U.S. provisional application Ser. No. 60/977,430, filed Oct. 4, 2007, which is hereby incorporated herein by reference in its entirety.

FIELD OF THE INVENTION

The present invention relates to vision systems for vehicles and, more particularly, to an imaging sensor or camera for a vision or imaging system of a vehicle.

BACKGROUND OF THE INVENTION

Traditional color imagers or image sensors or pixelated imaging arrays use a Bayer pattern of pixels and pixel filters, which has a red-green-green-blue (R-G-G-B) pixel/filter configuration (such as shown in FIG. 1). In such a pixelated array, the sensor includes individual optical filters that transmit red, green or blue colors and that are disposed at or coated on the individual pixels. Thus, there is a “red pixel” 12 a, a “blue pixel” 12 b and two “green pixels” 12 c arranged to form a 2×2 sub-array 10 that is repeated over the pixelated array.

The three color filters (R, G, and B) not only pass ranges of wavelengths or spectral bands that are corresponding to red, green and blue colors, they also pass through a significant amount of wavelengths in the infrared (IR) or near infrared (NIR) region or band of the spectrum. Therefore, the color imager sensitivity or quantum efficiency spectrum typically has a rich IR or NIR response even with the R, G, and B color pixels. For example, a typical silicon CMOS color sensor's spectrum response is shown in FIG. 2. The IR response of the R, G and B pixels is comparable or higher than the pixels' response of visible spectrum. The IR light from the environment thus may wash-out the color response in the visible spectrum and thus may distort the image color reproduction. This is often referred to as IR contamination. In a traditional color camera, in order to reproduce a true color image, an IR cut-off filter is usually used to cut off or reduce light or energy at or in the IR band or region of the spectrum so as to allow only (or substantially only) the visible light to pass through the filter so as to be imaged by the RGGB pixels, in order to reduce or limit or substantially eliminate the IR contamination. Such an IR cut-off filter is typically made of multilayer coatings on a glass or plastic element, such as a flat glass plate, that is added on to a lens assembly of the imager or onto a surface of a lens element of the lens assembly of the imager. The coating process and added material increase the cost of the lens, sometimes significantly.

On the other hand, for IR imaging applications that have the main spectrum of interest in the NIR region of the spectrum, where silicon CCD or CMOS can provide good quantum efficiency, one may need to cut the visible spectrum off from the light reaching the imager. A long pass filter that is a multilayer coating on a glass or plastic flat plate is typically used to let through NIR light only. Security cameras and some special industrial machine vision systems are among the applications of such a filter-imager configuration. For cameras that operate in both day and night for such applications, mechanical switches of IR cutoff filters and IR pass filters are used on silicon CMOS or CCD cameras. The additional cost of two filters and mechanical switches, as well as the reliability of the moving mechanical switch, make such systems undesirable, and such a design is not suitable for automotive or consumer digital cameras or cell phone cameras.

SUMMARY OF THE INVENTION

The present invention provides an imaging sensor or camera having a pixel configuration that combines red (R), green (G), and blue (B) sensing pixels with an infrared (IR) sensing pixel. The present invention provides de-mosaicing techniques for processing the R-G-B-IR imager pixels. The imaging sensor or camera of the present invention is suitable for use in automotive camera products, such as for vision-based systems, such as headlamp control systems, reverse aid systems, lane departure warning systems, object detection systems, rain sensor systems, front collision warning, night vision and/or the like. The imaging sensor or camera of the present invention may also be suitable for use in security cameras, consumer digital cameras, cell phone cameras and industrial machine vision systems and/or the like.

Therefore, the imaging sensor of the present invention can provide both visible and IR imaging capability without external filters and shuttering/switching mechanism. Such a pixel configuration of R-G-B-IR pixels is applicable to various pixelated imaging array type sensors, such as CMOS, CCD and/or other image sensing devices. The imaging sensor of the present invention is suitable for applications in security cameras, automotive cameras, consumer digital cameras, cell phone cameras, and industrial machine vision cameras, as well as other markets and/or applications.

These and other objects, advantages, purposes and features of the present invention will become more apparent upon review of the following specification in conjunction with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic of a typical R-G-G-B pattern or Bayer pattern;

FIG. 2 is a schematic of a silicon CMOS color sensor's spectrum response;

FIGS. 3A and 3B are schematics of R-G-B-IR pixel patterns in accordance with the present invention;

FIG. 4 is a schematic of an array having a R-G-B-IR pixel pattern in accordance with the present invention;

FIG. 5 is a schematic of a 2×2 window de-mosaicing method in accordance with the present invention;

FIG. 6 is a schematic of a 2×2 rolling window de-mosaicing method in accordance with the present invention;

FIG. 7 is a schematic of a 3×3 rolling window de-mosaicing method in accordance with the present invention;

FIG. 8 is a schematic of a camera system combining forward viewing vision and NIR night vision display in accordance with the present invention;

FIG. 9 is a schematic of a rear viewing camera system with enhanced low light sensitivity, hardware switches normal color image and low light NIR imaging in accordance with the present invention;

FIG. 10 is a schematic of a de-mosaicing technique for low light imaging in accordance with the present invention; and

FIG. 11 is a schematic of a rear viewing camera and display for displaying color images under normal lighting conditions and/or monochrome images under low lighting conditions in accordance with the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS Imaging Sensor Description

The imaging sensor of the present invention comprises a two-dimensional pixelated imaging array having a plurality of photo-sensing pixels arranged or disposed or established on a semiconductor substrate. For example, the imaging sensor may comprise a complementary-metal-oxide-semiconductor (CMOS) or a CCD imaging sensor or device or the like, and may utilize aspects of the imaging sensors described in U.S. Pat. Nos. 5,796,094; 6,097,023; 6,320,176; 6,313,454; 6,559,435; 6,831,261; 6,396,397; 5,877,897; 6,498,620; 5,670,935; 6,806,452; 6,946,978; 7,123,168; 7,004,606; 7,005,974; and/or 5,550,677, and/or PCT Application No. PCT/US07/75702, filed Aug. 10, 2007, and/or U.S. patent applications, Ser. No. 11/239,980, filed Sep. 30, 2005; Ser. No. 11/105,757, filed Apr. 14, 2005 by Schofield et al. for IMAGING SYSTEM FOR VEHICLE; and/or Ser. No. 10/534,632, filed May 11, 2005; and/or PCT Application No. PCT/US2003/036177, filed Nov. 14, 2003 by Donnelly Corp. for IMAGING SYSTEM FOR VEHICLE; and/or PCT Application No. PCT/US2006/041709, filed Oct. 27, 2006 and published May 10, 2007 as International Publication No. WO 07/053404, which are hereby incorporated herein by reference in their entireties.

The arrangement of pixels has a pixel pattern that is derived from the Bayer pattern, but has one of the green filters or pixels replaced by an infrared (IR) filter or pixel 12 d, such as shown in FIGS. 3A and 3B. The IR filter or pixel has an optical filter that limits or reduces or substantially precludes light or electromagnetic energy in the visible band or region of the spectrum so as to pass or substantially pass IR energy (for example, energy having a wavelength at or above about 700 nm or thereabouts) so that the pixel principally senses IR energy or NIR energy. The red, green and blue pixels may have a similar filter as implemented for typical Bayer pattern imaging sensors (and thus principally sense the respective visible color band of the spectrum), while the IR pixel has a filter that cuts off light in the visible spectrum and passes only light in the NIR or IR band or region of the spectrum. Optionally, for example, the IR filter may comprise a red filter and a blue filter stacked one on top of the other to form a NIR or IR pass filter. The system may function to process an output of the NIR or IR pixel to determine an infrared component of the imaged scene and may subtract the infrared component from the outputs of the red, green and blue pixels to obtain a more accurate or true color response for the pixels and to limit or avoid infrared color wash-out, as discussed below.

Optionally, the R-G-B-IR filter arrangement may be any suitable arrangement of pixels/filters in a repeating pattern, such as the 2×2 arrangements of pixels shown in FIGS. 3A and 3B. As shown in FIG. 3A, a 2×2 pixel matrix or sub-array may have the IR pixel 12 d positioned diagonal to the red pixel 12 a. Since the red pixel has a stronger NIR response than the green pixel 12 c and the blue pixel 12 b, such an arrangement will generate a more evenly distributed IR image by placing the IR pixel and the red pixel diagonally. Such an arrangement will also benefit the IR image resolution in the de-mosaicing methods described below. Alternately, and as shown in FIG. 3B, the pixel arrangement may have a repeating 2×2 matrix or sub-array with the green and blue pixels 12 c, 12 h along one column and the red and IR pixels 12 a, 12 d along the other column, such that half of the columns (green and blue pixels only) has a weaker IR sensitivity, while the other half of the columns has a greater IR sensitivity. The benefit of such an arrangement is the direct replacement (as compared to a typically R-G-G-B pixel arrangement) of a green pixel by an IR pixel (because a typically R-G-G-B pixel arrangement would have the IR pixel replaced with a green pixel), which results in smaller imager fabrication process change. In the de-mosaicing technique discussions below, the de-mosaicing techniques are described in relation to the pixel arrangement of FIG. 3A, but it is envisioned that similar de-mosaicing techniques may be carried out with the pixel arrangement of FIG. 3B, while remaining within the spirit and scope of the present invention.

Since the red, green and blue pixels typically may have a similar IR response as the IR pixel, the establishment of the IR pixel on each sub-array of the pixelated array allows for a determination of the IR component present in the light being imaged. Thus, the IR component (the IR or NIR energy or light sensed by the IR pixel) can be subtracted from the red, green and blue pixel response signal to obtain a more accurate or true color response for the pixels and to limit or avoid IR color wash-out. Further, with the IR cut-off in the sensor pixel level, there is no need to add IR cut-off filter in a lens. This simplifies the lens design and results in significant cost savings in manufacturing of the optical lens for the imager. Because the sensitivities in the IR region of the red, green and blue pixels may be different, factors or ratios may be applied to the IR signal when subtracting the IR value or component from the color signals. For example, the color values of the pixel signals may be determined via the following equations:

Red Color Value=Red Pixel Value−A _(R)*IR Pixel Value;

Green Color Value=Green Pixel Value−A _(G)*IR Pixel Value;

Blue Color Value=Blue Pixel Value−A _(B)*IR Pixel Value; and

IR Value=IR Pixel Value,

where A_(R), A_(G), and A_(B) are the selected factors for the red pixels, green pixels and blue pixels, respectively.

Optionally, for example, these factors can be selected to be 1 to simplify the de-mosaicing circuitry or software. However, the spectral responses of the R, G and B pixels in the NIR region may not match well with that of the IR pixel. As a result, it may be difficult to totally cancel out the IR signal from the R, G and B pixels that sensing light in the visible range of the spectrum. Optionally, the factors of each R, G and B color can be determined by the corresponding spectral sensitivities of the sensor. The spectrum contribution of the light source should also be considered. For example, for applications where the scene is illuminated by a light source or light sources emitting illumination within a known spectral band or region of the spectrum, a combination of the light source and the imager's spectral sensitivity may determine the factors. For example, if an imaged object or illumination source contains narrow-band IR illumination around 750 nm, the imager with spectral characteristics such as shown in FIG. 2 should have different green and blue factor values. As another example, when an incandescent light source or a Halogen light source is used, because of their light output being in a more wide spread spectrum in both visible and IR ranges, there should be another set of factors for the red, green and blue pixels. Because of the known source spectrum in such cases, the factors can be pre-determined. Also, if an application involves multiple controlled illumination spectra sources (with at least one of the illumination sources generating a light output having different spectral characteristics than at least one other of the illumination sources), the factors corresponding to each illumination source can be stored in the memory of the imager or camera or processor and loaded to the imager or the processor for calibration when the illumination source changes to a different illumination source generating a light output having a different spectral characteristic.

Optionally, for illumination sources that generate a light or energy output with changing or un-controlled spectrum or spectral characteristics, such as sun light at different times of the day, more sophistical image processing can be applied to determine the factors. For example, an iterative approach can be used in which multiple passes with different factors determine the best factors. As another example, a color conversion matrix can be used in a manner that is similar to an auto white balance technique that is commonly used in visible light cameras, wherein a statistical analysis of the scene image is performed to determine the contribution of individual visible colors and the IR spectrum and to determine the values of three factors.

With the pixel arrangements discussed above and the de-mosaicing techniques described below, an imager or imaging system of the present invention can produce a visible color image and a NIR image at the same time. The following sections describe the different de-mosaicing techniques of the present invention.

De-Mosaicing Techniques

A pixelated imaging array of the present invention may have an R-G-B-IR pixel pattern, such as described above and shown in FIG. 3A. Although shown in FIGS. 4-7 as a 4×4 array of pixels, clearly the imaging array may have and preferably has an array of at least about 40×40 pixels and may have an array of, for example, about 512×512 pixels or 640×480 pixels or thereabouts or any other suitable array for capturing images in the field of view of the imaging sensor. In the illustrated embodiments, the 4×4 pixel sub-arrays are described below with the individual pixels at respective coordinates corresponding to the row and column location of the pixels (for example, the R1 red pixel is at location r0,c0, while the G3 green pixel is at location r2,c1, and so on). The de-mosaicing techniques of the present invention are applicable to any sized pixelated array and repeat the process over the entire array to de-mosaicize the pixelated array. The following de-mosaicing formulas describe different methods of extracting red, green, blue and IR values for each pixel from itself and the adjacent pixels. Thus, a visible color image and a NIR image can be produced at the same time via the processing techniques of the present invention.

2×2 Window De-Mosaicing

For an R-G-B-IR pixel pattern, each pixel of the array has its associated primary color (or is sensitive to a particular band of the spectrum and is less sensitive to other bands of the spectrum), which comes from its filter type. For example, and with reference to FIG. 5, the R1 red pixel at r0c0 has a primary color of red, so that the red value for this pixel is readily available, while the G1 green pixel at r0,c1 has a primary color of green, so that the green value for this pixel is readily available, and the B1 blue pixel at r1,c0 has a primary color of blue so that the blue value for this pixel is readily available. The green, blue and IR values for this pixel location are calculated from the adjacent pixels in a 2×2 window. Each window covers four pixels in two rows and two columns and in order of red, green, blue and IR, such as shown in FIG. 5. The 2×2 window does not overlap any adjacent 2×2 windows. As an example in the first 2×2 window, the formulas for calculating the color or IR values for the pixel locations are as follows:

R(r0c0)=R1−A _(R) *IR1, G(r0c0)=G1−A _(G) *IR1, B(r0c0)=B1−A _(B) *IR1, and IR(r0c0)=IR1;

R(r0c1)=R1−A _(R) *IR1, G(r0c1)=G1−A _(G) *IR1, B(r0c1)=B1−A _(B) *IR1, and IR(r0c1)=IR1;

R(r1c0)=R1−A _(R) *IR1, G(r1c0)=G1−A _(G) *IR1, B(r1c0)=B1−A _(B) *IR1, and IR(r1c0)=IR1;

and

R(r1c1)=R1−A _(R) *IR1, G(r1c1)=G1−A _(G) *IR1, B(r1c1)=B1−A _(B) *IR1, and IR(r1c1)=IR1,

where A_(R), A_(G), and A_(B) are the selected factors for the red pixels, green pixels and blue pixels, respectively, and where R(rx,cx) is the red color value for the respective pixel location, G(rx,cx) is the green color value for the respective pixel location, B(rx,cx) is the blue color value for the respective pixel location, and IR(rx,cx) is the infrared value for the respective pixel location, and where R1 is an output value of the red pixel of the window or sub-array, G1 is an output value of the green pixel of the window or sub-array, B1 is an output value of the blue pixel of the window or sub-array, and IR1 is an output value of the IR pixel of the window or sub-array.

Thus, the value of the IR component for that pixel location (as determined by multiplying the value of the IR pixel by a factoring value for each color) is subtracted from the value of the respective color pixel (and the color for the adjacent pixels also has the factored IR value subtracted therefrom) to determine the color value of each pixel location. This is repeated for each 2×2 window of the array.

2×2 Rolling Window De-Mosaicing

Unlike the 2×2 Window De-mosaicing method above, the 2×2 Rolling Window De-mosaicing process shifts the 2×2 window by one pixel at a time in both the row and column directions, such as can be seen with reference to FIG. 6. The following formulas show an example of de-mosaicing four pixels of each color band or IR band:

R(r0c0)=R1−A _(R) *IR1, G(r0c0)=G1−A _(G) *IR1, B(r0c0)=B1−A _(B) *IR1, and IR(r0c0)=IR1;

R(r0c1)=R2−A _(R) *IR1, G(r0c1)=G1−A _(G) *IR1, B(r0c1)=B2−A _(B) *IR1, and IR(r0c1)=IR1;

R(r1c0)=R3−A _(R) *IR1, G(r1c0)=G3−A _(G) *IR1, B(r1c0)=B1−A _(B) *IR1, and IR(r1c0)=IR1;

and

R(r1c1)=R4−A _(R) *IR1, G(r1c1)=G3−A _(G) *IR1, B(r1c1)=B2−A _(B) *IR1, and IR(r1c1)=IR1,

where A_(R), A_(G), and A_(B) are the selected factors for the red pixels, green pixels and blue pixels, respectively, and where R(rx,cx) is the red color value for the respective pixel location, G(rx,cx) is the green color value for the respective pixel location, B(rx,cx) is the blue color value for the respective pixel location, and IR(rx,cx) is the infrared value for the respective pixel location, and where Rx is an output value of the red pixel of a respective sub-array, Gx is an output value of the green pixel of a respective sub-array, Bx is an output value of the blue pixel of a respective sub-array and IRx is an output value of the IR pixel of a respective sub-array.

Thus, the color values for the individual pixel locations are based on the color values for the respective color pixel within the particular 2×2 window, as reduced by the factored IR value of the IR pixel within the particular 2×2 window. The 2×2 window moves or shifts along the rows and columns during the processing of the pixelated array.

3×3 Rolling Window De-Mosaicing

Optionally, the imaging array may be de-mosaiced via a 3×3 rolling window de-mosaicing technique. In this method, each pixel will have its red, green, blue and IR information from averaging the adjacent pixels except for the primary color itself, such as can be seen with reference to FIG. 7. For example, the formulas for the pixel values at the pixel locations r1c1, r1c2, r2c1 and r2c2 are:

R(r1c1)=(R1+R2+R3+R4)/4−A _(R) *IR1, G(r1c1)=(G1+G3)/2−A _(G) *IR1, B(r1c1)=(B1+B2)/2−A _(B) *IR1, and IR(r0c0)=IR1;

R(r1c2)=(R2+R4)/2−A _(R)*(IR1+IR2)/2, G(r1c2)=(G1+G2+G3+G4)/4−A _(G)*(IR1+IR2)/2, B(r0c1)=B2−A _(B)*(IR1+IR2)/2, and IR(r0c1)=(IR1+IR2)/2;

R(r2c1)=(R3+R4)/2−A _(R)*(IR1+IR3)/2, G(r2c1)=G3−A _(G)*(IR1+IR3)/2, B(r2c1)=(B1+B2+B3+B4)/4−A _(B)*(IR1+IR3)/2, and IR(r2c1)=(IR1+IR3)/2; and

R(r2c2)=R4−A _(R)*(IR1+IR2+IR3+IR4)/4, G(r1c1)=(G3+G4)/2−A _(G)*(IR1+IR2+IR3+IR4)/4, B(r2c2)=(B2+B4)/2−A _(B)*(IR1+IR2+IR3+IR4)/4, and IR(r2c2)=(IR1+IR2+IR3+IR4)/4,

where A_(R), A_(G), and A_(B) are the selected factors for the red pixels, green pixels and blue pixels, respectively, and where R(rx,cx) is the red color value for the respective pixel location, G(rx,cx) is the green color value for the respective pixel location, B(rx,cx) is the blue color value for the respective pixel location, and IR(rx,cx) is the infrared value for the respective pixel location, and where Rx is an output value of the red pixel of a respective sub-array, Gx is an output value of the green pixel of a respective sub-array, Bx is an output value of the blue pixel of a respective sub-array and IRx is an output value of the IR pixel of a respective sub-array.

Thus, the values for each color component of each row/column location is determined by averaging the respective colored pixels that are adjacent to the particular pixel location or coordinate. For example, the red color component for the pixel location r1,c1 is the average of the four red pixels R1, R2, R3, R4 (at r0,c0; r0,c2; r2,c0; and r2,c2) that are adjacent to the pixel location r1,c1, while the green color component for the pixel location r1,c1 is the average of the two green pixels G1, G3 (at r0,c1 and r2,c1) that are adjacent to the pixel location r1,c1, and the blue color component for the pixel location r1,c1 is the average of the two blue pixels B1, B2 (at r1,c0 and r1,c2) that are adjacent to the pixel location r1,c1. For the infrared value at the pixel location r1,c1, the infrared value is determined by the value of the IR1 pixel at that particular location. The color or IR values for the other coordinates or pixel locations are determined in a similar manner.

Implementation Methods

It is envisioned that any of the above de-mosaicing techniques may be implemented in conjunction with any suitable imaging array sensor. For example, the above de-mosaicing techniques can be implemented on or in conjunction with an imager chip, which is often called a system-on-chip (SOC). Optionally, such processing techniques may be implemented outside the imager chip by means of a FPGA, DSP or microprocessor or the like, while remaining within the spirit and scope of the present invention.

Applications IHC Reflective Object Identification

In Intelligent Headlamp Control (IHC) applications, spectral information, such as R, G, B color information may be used to assist identifying tail lights, head lamps and traffic signs, such as described in U.S. Pat. Nos. 5,796,094; 6,097,023; 6,320,176; 6,313,454; 6,559,435; 6,831,261; 6,396,397; 5,877,897; 6,498,620; 5,670,935; 6,946,978; 7,123,168; 7,004,606; 7,005,974; and/or 5,550,677, and/or PCT Application No. PCT/US07/75702, filed Aug. 10, 2007, and/or U.S. patent applications, Ser. No. 11/239,980, filed Sep. 30, 2005; and/or Ser. No. 10/534,632, filed May 11, 2005; and/or PCT Application No. PCT/US2003/036177, filed Nov. 14, 2003 by Donnelly Corp. for IMAGING SYSTEM FOR VEHICLE, which are hereby incorporated herein by reference in their entireties. It is usually challenging to identify and separate reflective objects, like traffic signs in night scene, from tail lights, head lamps and street lights. The techniques that have been often used are identifying color (traffic signs are often yellow or white) and shapes (traffic signs are often square or rectangle). However, these techniques are not always effective and accurate.

The present invention provides a processing technique that uses IR information to increase the identification accuracy. In addition to three visible colors, IR adds one more dimension to the color space. All tail lights, head lamps and traffic signs have their IR signatures based on how much they emit or reflect IR light. For instance, a traffic sign reflects the light from the head lamps of an approaching vehicle, with the head lamp illumination carrying a known IR signature. Quantitative IR signature of objects helps to determine the types of objects, such as for example, whether an object is a light or a road side traffic sign or other object. The IR signatures include:

-   -   1. Ratios of IR to R signals of object types, IR to G signals of         object types, and IR to B signals of object types.     -   2. An extension to the 2-D CIE color space to form a 3-D space.         The location of an object type (such as a stop sign or the like)         in the 3-D space is a signature that identifies the object type.     -   3. R, G, B, IR 4-D coordinate space. The location of an object         type in the 4-D coordinate space is a signature that identifies         the object type.

In the signatures of the types 2 and 3 above, the vision algorithm can calibrate and define an area, range or segment of these color spaces to classify the object types located inside these regions. Thus, the system may recognize or identify an object based on whether the signature of the detected object falls within a particular signature range that is previously categorized or identified as being associated with or indicative of or representative of a particular object or type or class of object.

The system thus may utilize the CIE color space, as is known in the color art, such as by utilizing aspects of the systems described in U.S. patent application Ser. No. 11/239,980, filed Sep. 30, 2005, which is hereby incorporated herein by reference in its entirety. The Centre Internationale dEclairage (CIE) is an international organization that establishes methods for measuring color and that recommends standards and procedures for light and lighting, including colorimetry. The color standards for colormetric measurements are internationally accepted specifications that define color values mathematically. CIE defines color as a combination of three axes: x, y, and z. CIE color models are considered device independent because the colors should not differ, theoretically, from one output device to another if properly calibrated.

In addition to the spectral domain, one can apply IR processing techniques to identify an object in the time domain. For example, a vehicle can include an IR light source, such as an IR LED or the like, at or near or in the headlamp assembly. The headlamp's IR output can be modulated with a pulse width modulation (PWM) sequence. Since only traffic signs, not the head lamps of other oncoming vehicles or tail lights of other leading vehicles reflect the IR light, the traffic signs appear in the image frames that the headlamp IR source is turned on, and is diminished or reduced in the image frames that the headlamp IR source is turned off. For the objects seen in the IR image that possibly come from oncoming vehicle headlamps, proceeding vehicle tail lights or street lights, the captured images of these objects or illumination sources will not have such an on and off sequence, which is synchronized with the IR light source PWM sequence. Such a processing technique can also help identify and separate the reflective objects in the forward field of view of the imager, such as retro-reflective marks/signs that are placed on the mailbox, front yard, building side or reflective stripes on trucks. The modulated IR light is not visible or discernible to humans, so it does not impede drivers of other vehicles or the driver of the subject or host vehicle and does not violate related regulations. The PWM sequence of each vehicle can be encoded or controlled with unique “signature” to avoid the interference from other vehicles equipped with the same type of PWM IR lights. Optionally, for example, this signature can be one of the following or a combination of the following: (1) unique modulation sequence, (2) unique modulation frequency.

NIR Night Vision Capability in Forward Viewing Camera

A NIR night vision system of the present invention may include a NIR light source (such as a LED, laser, or other NIR light sources) that illuminates the scene in the dark environment, a NIR video camera that captures image/video of the scene, and a display that shows the captured NIR images to a driver. For example, and with reference to FIG. 8, a vision system 110 includes an R-G-B-IR imager or imaging device or camera 112, a NIR illuminator or illumination source 114 (such as a NIR LED or the like) and a display device 116. The imager may include or may be associated with a lens or optic 118 for focusing the scene onto an imaging plane of the imager. The system 110 includes an R-G-B-IR de-mosaicing processor or algorithm 120 or the like, which provides or generates an output, such as for displaying images at the display device 116 or for further processing by an associated forward viewing vision system 122 (which may be part of or associated with the de-mosaicing processor or a separate processor or the like), such as a headlamp control system or a lane departure warning system or the like.

The NIR night vision system allows a driver to see a farther distance ahead of the vehicle and to see and discern more objects than he or she can normally see with typical head lamp illumination. Such a vision system thus gives the driver more time to react to different driving conditions. It is desirable to have a NIR camera mounted inside the vehicle compartment and looking forward. To avoid blocking the viewing angle of driver, it is best to mount the camera behind the rear view mirror, and preferably with a forward field of view through the windshield of the vehicle and through an area that is wiped or cleaned by the windshield wipers of the vehicle. The NIR illumination source can be either mounted inside one or both headlamps or inside the driver compartment, such as at or in or near or behind the interior rear view mirror or accessory module or windshield electronics module or the like.

The forward viewing camera thus may be mounted behind the rear view mirror and inside the vehicle, and the system may provide driver assistance and safety functions, such as intelligent headlamp control, lane departure warning, traffic sign recognition, adaptive cruise control, and/or the like. Optionally, the forward viewing camera may provide or be associated with a rain sensing function, or there may be other sensing devices, such as a rain sensor or the like, mounted at or near or behind the rear view mirror. Adding a NIR camera to an already crowded space behind the rear view mirror can be challenging and costly. It is thus desirable to combine the NIR camera to a visible forward viewing camera to save space and cost. The R-G-B-IR imager of the present invention provides a solution to combine the visible forward viewing camera and the NIR camera into a single imager and camera body.

Rear Viewing Camera With NIR Night Vision

A typical automotive rear viewing camera includes a color imager and a lens with IR cut-off filter. The IR cut-off filter in the lens prevents the camera from IR contamination and provides good visible color images for the camera in normal lighting conditions. However, in a night condition when no or minimum ambient light is available to illuminate the scene behind the vehicle, the only illumination comes from the vehicle tail lights. The tail lights, which include running lights, brake lights and back up lights, typically produce illumination of less than a few Lux. Thus, in a rear viewing camera image with an IR cut-off filter, the night scene image is mostly noisy, dark and low-contrast. One can thus only view a very short distance behind the vehicle. This is partially because the IR cut-off filter cuts off a significant amount of the existing IR light in the tail light illumination which otherwise assists the imaging sensitivity.

To provide enhanced safety and enhanced convenience to the drivers, it is desirable to increase the low light sensitivity of the rear viewing camera. It may be desirable to take off the IR cutoff filter from the lens, so that the scene illuminated by the near IR light component from the tail lights, street light, garage light, and/or the like can be better imaged by the imager, since incandescent light bulbs, which are typically used in vehicle tail lights, street lights, garage lights, and the like, emit a relatively high amount of near IR light. It may also be desired to include an additional invisible near IR light source (such as, for example, a near infrared LED or the like) at or near or in the tail light assembly for illuminating the rearward scene of the vehicle. The high sensitivity of silicon imager in the near IR region helps increase the image sensitivity of the night scene.

The R-G-B-IR imager described above provides a possibility of using NIR to enhance low light sensitivity of rear viewing cameras. A rear viewing camera, such as shown in FIG. 9, can provide good color images in normal lighting condition and enhanced low light sensitivity in low light or nighttime conditions. In a low light night scene, it is of less importance to produce true color images (because human eyes do not distinguish color as well under low illumination conditions) so a black-and-white image is sufficient for the night scene display. A hardware switch can be used to switch the video signal that feeds the display between the normal lighting color image and low light NIR image, such as by utilizing aspects of the imaging systems described in U.S. Pat. No. 6,498,620; and/or U.S. patent applications, Ser. No. 11/239,980, filed Sep. 30, 2005; and/or Ser. No. 10/534,632, filed May 11, 2005; and/or PCT Application No. PCT/US2003/036177, filed Nov. 14, 2003 by Donnelly Corp. for IMAGING SYSTEM FOR VEHICLE, which are hereby incorporated herein by reference in their entireties.

For example, and with reference to FIG. 9, a NIR night vision system 110′ of the present invention may include an R-G-B-IR imager or imaging device or camera 112 and associated lens or optic 118, a NIR illuminator or illumination source 114 (such as a NIR LED or the like) and a display device 116. The system 110′ includes an R-G-B-IR de-mosaicing processor or algorithm 120′ or the like, which provides or generates an output (such as an RGB color output and an IR output), and the system may include a normal and low light image switch 124 that determines whether or not to display the captured color images or the captured IR or NIR images at the display device 116. The switch may adjust the displayed images in response to the ambient light level at the scene being above or below a threshold level.

To further increase the signal strength and sensitivity of the low light images, it is desirable to use all the available photons that the imager can detect in the NIR and visible wavelength ranges. The red and IR pixels are more sensitive to the light sources in low light night conditions, which includes incandescent bulb tail lights, an added NIR illuminator, garage lamp lights, street lights, and the like, than green and blue pixels, since most of these lights have stronger red and NIR spectrum range components than green and blue spectrum range components. To take advantage of this feature, a de-mosaicing method of the present invention may be implemented to extract the desired image color components. As can be seen with reference to FIG. 10, the pixel values from the green and blue pixels are not used for the image processing in this method. Instead, the combined values coming from the surrounding red and IR pixels are used to represent the pixel values of green and blue pixels. In this method, the imager is treated as a substantially monochrome imager. Each pixel produces only one grey scale value.

The switching between normal color image and low light monochrome image may be done in an imager de-mosaicing unit. For example, and with reference to FIG. 11, a rear viewing camera system 110″ may include an R-G-B-IR imager or imaging device or camera 112 and associated lens or optic 118, a NIR illuminator or illumination source 114 (such as a NIR LED or the like) and a display device 116. The system 110″ includes an R-G-B-IR de-mosaicing processor or algorithm 120″, which includes an image mode switch such as described above, and which provides or generates an output (such as an RGB color output or color image signal and a monochrome output or monochrome image signal), whereby the display device 116 displays the color image or monochrome image in response to the de-mosaicing unit.

Optionally, the imaging sensor may include a plurality of sub-arrays, such as a plurality of 2×2 sub-arrays or the like, that may each comprise a principally red sensing pixel, a principally blue sensing pixel, a principally green sensing pixel and a principally IR or near IR sensing pixel, as discussed above, or may include other types of sub-arrays having different arrangements of pixels such as one or more principally IR or NIR sensing pixels and one or more color sensing pixels. For example, an imaging sensor may include a plurality of sub-arrays where each sub-array may comprise a color sensing pixel (such as a pixel primarily sensing red light from the red region of the spectrum, blue light from the blue region of the spectrum or green light from the green region of the spectrum, such as may be achieved by placing a color filter in front of or over the respective pixel) and a clear pixel (that has a clear spectral filter or no spectral filter and is receptive to all or substantially all incoming visible and infrared light or energy incident thereon) and a principally IR or NIR sensing pixel (such as a principally IR or NIR sensing pixel as described above). Such an imaging sensor may function in a similar manner as described above, where the IR value (as sensed by the principally IR or NIR sensing pixel) may be subtracted by the accompanying image processor from the color value sensed by the color pixel and the clear value sensed by the clear pixel to obtain a more accurate or true color response for the color and clear pixels and to limit or avoid infrared color wash-out. Clearly, other arrangements of pixels and filters, such as an imaging sensor having a sub-array having one or more color sensing pixels and/or one or more clear pixels and one or more principally IR or NIR sensing pixels, such as an imaging sensor having three pixel sub-arrays or 2×2 sub-arrays or 3×3 sub-arrays or the like, may be implemented with one or more IR or NIR sensing pixels while remaining within the spirit and scope of the present invention.

A benefit of the present invention is that a principally IR or NIR sensing pixel is in close proximity and optionally contiguous with the associated cluster of spectrally selective and/or clear pixels (such as red, green and/or blue pixels and/or clear pixels), so that the image data associated with a particular object in the field of view being imaged (such as, for example, a headlamp or taillight in a forward field of view or a child or object in a rearward field of view or a vehicle or object in a forward field of view or a child or seat occupant in an interior cabin field of view or the like) can be processed to subtract out or account for the IR or NIR content of light or energy in the field of view by subtracting out the IR or NIR values (as sensed by the principally IR or NIR sensing pixel) from the other pixels of a particular sub-array of pixels (that images the headlamp or taillight or object or child or occupant that is in the field of view of the imaging sensor) to enhance the image output and/or to obtain a more accurate or true color response for the pixels and to limit or avoid infrared color wash-out. Thus, the IR or NIR values local to or associated with an illumination source or object being sensed by a respective sub-array of the imaging sensor may be subtracted from the color values or clear spectral values sensed by the color and/or clear pixels of that respective sub-array (with the color and/or clear pixels of the sub-array being proximate to or associated with the principally IR or NIR sensing pixel or pixels of that sub-array), so that the system may provide enhanced detection of and/or identification of the illumination sources or objects exterior or interior of the vehicle that are being imaged by the imaging sensor and system.

Optionally, the imaging sensor may be suitable for various forward imaging systems, such as for headlamp control systems, rain sensor systems, lane departure warning systems, object detection systems, and/or the like. For example, the imaging sensor of the present invention may be associated with one or more systems of the types described in U.S. Pat. Nos. 5,796,094; 6,396,397; 6,806,452; 6,690,268; 7,005,974; 7,123,168; 7,004,606; 6,946,978; 7,038,577; 6,353,392; 6,320,176; 6,313,454; and 6,824,281, which are all hereby incorporated herein by reference in their entireties.

Optionally, the imaging sensor may be suitable for various in-cabinet imaging systems, such as driver drowsiness monitoring, passenger identification for intelligent airbag deployment, back seat passenger monitoring, and/or the like.

Optionally, the imaging sensor may be suitable for use in connection with other vehicle imaging systems, such as, for example, a blind spot detection system, where a blind spot indicator may be operable to provide an indication to the driver of the host vehicle that an object or other vehicle has been detected in the lane or area adjacent to the side of the host vehicle. In such a blind spot detector/indicator system, the blind spot detection system may include an imaging sensor or sensors, or ultrasonic sensor or sensors, or sonar sensor or sensors or the like. For example, the blind spot detection system may utilize aspects of the blind spot detection and/or imaging and/or indicating systems described in U.S. Pat. Nos. 7,038,577; 6,882,287; 6,198,409; 5,929,786; and/or 5,786,772, and/or U.S. pat. applications, Ser. No. 11/315,675, filed Dec. 22, 2005; Ser. No. 11/239,980, filed Sep. 30, 2005; and/or Ser. No. 11/933,697, filed Nov. 1, 2007, and/or PCT Application No. PCT/US2006/026148, filed Jul. 5, 2006 and published Jan. 11, 2007 as International Publication No. WO 2007/005942, and/or PCT Application No. PCT/US07/082099, filed Oct. 22, 2007 and published May 2, 2008 as International Publication No. WO 2008/051910, and/or U.S. provisional applications, Ser. No. 60/618,686, filed Oct. 14, 2004 by Laubinger for VEHICLE IMAGING SYSTEM; Ser. No. 60/853,850, filed Oct. 24, 2006; Ser. No. 60/918,089, filed Mar. 15, 2007; Ser. No. 60/970,687, filed Sep. 7, 2007; and/or Ser. No. 60/857,025, filed Nov. 6, 2006, and/or of the reverse or backup aid systems, such as the rearwardly directed vehicle vision systems described in U.S. Pat. Nos. 5,550,677; 5,760,962; 5,670,935; 6,201,642; 6,396,397; 6,498,620; 6,717,610; 6,757,109; and/or 7,005,974, and/or of the rain sensors described in U.S. Pat. Nos. 6,250,148 and 6,341,523, and/or of other imaging systems, such as the types described in U.S. Pat. Nos. 7,123,168; 6,353,392 and 6,313,454, with all of the above referenced U.S. patents, patent applications and provisional applications and PCT applications being commonly assigned and being hereby incorporated herein by reference in their entireties.

Optionally, the mirror assembly and/or accessory module or windshield electronics module may include one or more displays, such as for displaying the captured images or video images captured by the imaging sensor or sensors of the vehicle, such as the displays of the types disclosed in U.S. Pat. Nos. 7,004,593; 5,530,240 and/or 6,329,925, which are hereby incorporated herein by reference, and/or display-on-demand or transflective type displays, such as the types disclosed in U.S. Pat. Nos. 7,274,501; 7,255,451; 7,195,381; 7,184,190; 6,690,268; 5,668,663 and/or 5,724,187, and/or in U.S. Pat. applications, Ser. No. 10/538,724, filed Jun. 13, 2005 by Hutzel et al. for ACCESSORY SYSTEM FOR VEHICLE; Ser. No. 11/226,628, filed Sep. 14, 2005 by Karner et al.; Ser. No. 10/993,302, filed Nov. 19, 2004, now U.S. Pat. No. 7,338,177; and/or Ser. No. 11/284,543, filed Nov. 22, 2005, now U.S. Pat. No. 7,370,983, and/or PCT Application No. PCT/US03/29776, filed Sep. 9, 2003 by Donnelly Corp. et al. for MIRROR REFLECTIVE ELEMENT ASSEMBLY; and/or PCT Application No. PCT/US03/35381, filed Nov. 5, 2003 by Donnelly Corp. et al. for ELECTRO-OPTIC REFLECTIVE ELEMENT ASSEMBLY, and/or PCT Application No. PCT/US03/40611, filed Dec. 19, 2003 by Donnelly Corp. et al. for ACCESSORY SYSTEM FOR VEHICLE, and/or PCT Application No. PCT/US2006/018567, filed May 15, 2006 by Donnelly Corp. et al., which are all hereby incorporated herein by reference in their entireties, or may include or incorporate video displays or the like, such as the types described in PCT Application No. PCT/US03/40611, filed Dec. 19, 2003 by Donnelly Corp. et al. for ACCESSORY SYSTEM FOR VEHICLE, and/or PCT Application No. PCT/US07/042718, filed Oct. 31, 2006 and published May 10, 2007 as International Publication No. WO 07/053710, and/or U.S. Pat. applications, Ser. No. 10/538,724, filed Jun. 13, 2005 by Hutzel et al. for ACCESSORY SYSTEM FOR VEHICLE; and/or Ser. No. 11/284,543, filed Nov. 22, 2005, now U.S. Pat. No. 7,370,983, and/or U.S. provisional applications, Ser. No. 60/732,245, filed Nov. 1, 2005; Ser. No. 60/759,992, filed Jan. 18, 2006; and/or Ser. No. 60/836,219, filed Aug. 8, 2006 by Weller et al. for INTERIOR REARVIEW MIRROR ASSEMBLY WITH DISPLAY, which are hereby incorporated herein by reference.

The imaging sensor may be incorporated at or in an accessory module or windshield electronics module (such as described above), or may be incorporated at or in an interior rearview mirror assembly of the vehicle, while remaining within the spirit and scope of the present invention. Optionally, the accessory module may utilize aspects of other accessory modules or windshield electronics modules or the like, such as the types described in U.S. patent application Ser. No. 11/201,661, filed Aug. 11, 2005, and/or U.S. Pat. Nos. 7,188,963; 7,004,593; 6,824,281; 6,690,268; 6,250,148; 6,341,523; 6,593,565; 6,428,172; 6,501,387; 6,329,925; and 6,326,613, and/or in PCT Application No. PCT/US03/40611, filed Dec. 19, 2003 by Donnelly Corp. et al. for ACCESSORY SYSTEM FOR VEHICLE, and/or Ireland pat. applications, Ser. No. S2004/0614, filed Sep. 15, 2004; Ser. No. S2004/0838, filed Dec. 14, 2004; and Ser. No. S2004/0840, filed Dec. 15, 2004, which are all hereby incorporated herein by reference.

Optionally, the mirror assembly and/or module may support one or more other accessories or features, such as one or more electrical or electronic devices or accessories. For example, illumination sources or lights, such as map reading lights or one or more other lights or illumination sources, such as illumination sources of the types disclosed in U.S. Pat. Nos. 6,690,268; 5,938,321; 5,813,745; 5,820,245; 5,673,994; 5,649,756; 5,178,448; 5,671,996; 4,646,210; 4,733,336; 4,807,096; 6,042,253; 6,971,775; 7,249,860; 7,195,381; and/or 5,669,698, which are hereby incorporated herein by reference in their entireties, may be included in the mirror assembly or module. The illumination sources and/or the circuit board may be connected to one or more buttons or inputs for activating and deactivating the illumination sources. Optionally, the mirror assembly or module may also or otherwise include other accessories, such as microphones, such as analog microphones or digital microphones or the like, such as microphones of the types disclosed in U.S. Pat. Nos. 6,243,003; 6,278,377; and/or 6,420,975, and/or in U.S. patent application Ser. No. 10/529,715, filed Mar. 30, 2005. Optionally, the mirror assembly may also or otherwise include other accessories, such as a telematics system, speakers, antennas, including global positioning system (GPS) or cellular phone antennas, such as disclosed in U.S. Pat. No. 5,971,552, a communication module, such as disclosed in U.S. Pat. No. 5,798,688, a voice recorder, transmitters and/or receivers, such as for a garage door opener or a vehicle door unlocking system or the like (such as a remote keyless entry system), a digital network, such as described in U.S. Pat. No. 5,798,575, a memory mirror system, such as disclosed in U.S. Pat. No. 5,796,176, a hands-free phone attachment, a video device for internal cabin surveillance (such as for sleep detection or driver drowsiness detection or the like) and/or video telephone function, such as disclosed in U.S. Pat. Nos. 5,760,962 and/or 5,877,897, a remote keyless entry receiver, a seat occupancy detector, a remote starter control, a yaw sensor, a clock, a carbon monoxide detector, status displays, such as displays that display a status of a door of the vehicle, a transmission selection (4wd/2wd or traction control (TCS) or the like), an antilock braking system, a road condition (that may warn the driver of icy road conditions) and/or the like, a trip computer, a tire pressure monitoring system (TPMS) receiver (such as described in U.S. Pat. Nos. 6,124,647; 6,294,989; 6,445,287; 6,472,979; and/or 6,731,205; and/or U.S. patent application Ser. No. 11/232,324, filed Sep. 21, 2005 by O'Brien et al. for TIRE PRESSURE ALERT SYSTEM, now U.S. Pat. No. 7,423,522, and/or an ONSTAR® system and/or any other accessory or circuitry or the like (with all of the above-referenced patents and PCT and U.S. patent applications being commonly assigned to Donnelly Corporation, and with the disclosures of the referenced patents and patent applications being hereby incorporated herein by reference in their entireties).

Changes and modifications to the specifically described embodiments may be carried out without departing from the principles of the present invention, which is intended to be limited by the scope of the appended claims, as interpreted in accordance with the principles of patent law. 

1. An imaging system suitable for use in a vehicle, said imaging system comprising: an imaging sensor comprising a two-dimensional array of photosensing elements, said two-dimensional array comprising a plurality of sub-arrays, each of said sub-arrays having a first pixel sensing primarily a first color, a second pixel sensing primarily a second color, a third pixel sensing primarily a third color and a fourth pixel sensing primarily infrared radiation; an image processor for processing image data captured by said imaging sensor, wherein said image processor processes outputs of said pixels, said image processor processing said output of said fourth pixel to determine an infrared component of the imaged scene and subtracting the infrared component from said outputs of said first, second and third pixels to obtain a more accurate or true color response for the pixels and to limit or avoid infrared color wash-out.
 2. The imaging system of claim 1, wherein said image processor processes image data via a de-mosaicing technique.
 3. The imaging system of claim 2, wherein said image processor processes image data to determine the color values at each pixel location of said sub-array via the following equations: R(r0c0)=R1−A _(R) *IR1, G(r0c0)=G1−A _(G) *IR1, B(r0c0)=B1−A _(B) *IR1, and IR(r0c0)=IR1; R(r0c1)=R1−A _(R) *IR1, G(r0c1)=G1−A _(G) *IR1, B(r0c1)=B1−A _(B) *IR1, and IR(r0c1)=IR1; R(r1c0)=R1−A _(R) *IR1, G(r1c0)=G1−A _(G) *IR1, B(r1c0)=B1−A _(B) *IR1, and IR(r1c0)=IR1; R(r1c1)=R1−A _(R) *IR1, G(r1c1)=G1−A _(G) *IR1, B(r1c1)=B1−A _(B) *IR1, and IR(r1c1)=IR1, where A_(R), A_(G), and A_(B) are the selected factors for said first pixels, said second pixels and said third pixels, respectively, and where R(rx,cx) is the first color value for the respective pixel location, G(rx,cx) is the second color value for the respective pixel location, B(rx,cx) is the third color value for the respective pixel location, and IR(rx,cx) is the infrared value for the respective pixel location, and where R1 is an output value of said first pixel, G1 is an output value of said second pixel, B1 is an output value of said third pixel and IR1 is an output value of said fourth pixel.
 4. The imaging system of claim 2, wherein said image processor processes image data from multiple sub-arrays to determine the color values at each pixel location of said sub-arrays via the following equations: R(r0c0)=R1−A _(R) *IR1, G(r0c0)=G1−A _(G) *IR1, B(r0c0)=B1−A _(B) *IR1, and IR(r0c0)=IR1; R(r0c1)=R2−A _(R) *IR1, G(r0c1)=G1−A _(G) *IR1, B(r0c1)=B2−A _(B) *IR1, and IR(r0c1)=IR1; R(r1c0)=R3−A _(R) *IR1, G(r1c0)=G3−A _(G) *IR1, B(r1c0)=B1−A _(B) *IR1, and IR(r1c0)=IR1; R(r1c1)=R4−A _(R) *IR1, G(r1c1)=G3−A _(G) *IR1, B(r1c1)=B2−A _(B) *IR1, and IR(r1c1)=IR1, where A_(R), A_(G), and A_(B) are the selected factors for said first pixels, said second pixels and said third pixels, respectively, and where R(rx,cx) is the first color value for the respective pixel location, G(rx,cx) is the second color value for the respective pixel location, B(rx,cx) is the third color value for the respective pixel location, and IR(rx,cx) is the infrared value for the respective pixel location, and where Rx is an output value of said first pixel of a respective sub-array, Gx is an output value of said second pixel of a respective sub-array, Bx is an output value of said third pixel of a respective sub-array and IRx is an output value of said fourth pixel of a respective sub-array.
 5. The imaging system of claim 2, wherein said image processor processes image data from multiple sub-arrays to determine the color values at each pixel location of said sub-arrays via the following equations: R(r1c1)=(R1+R2+R3+R4)/4−A _(R) *IR1, G(r1c1)=(G1+G3)/2−A _(G) *IR1, B(r1c1)=(B1+B2)/2−A _(B) *IR1, and IR(r0c0)=IR1; R(r1c2)=(R2+R4)/2−A _(R)*(IR1+IR2)/2, G(r1c2)=(G1+G2+G3+G4)/4−A _(G)*(IR1+IR2)/2, B(r0c1)=B2−A _(B)*(IR1+IR2)/2, and IR(r0c1)=(IR1+IR2)/2; R(r2c1)=(R3+R4)/2−A _(R)*(IR1+IR3)/2, G(r2c1)=G3−A _(G)*(IR1+IR3)/2, B(r2c1)=(B1+B2+B3+B4)/4−A _(B)*(IR1+IR3)/2, and IR(r2c1)=(IR1+IR3)/2; R(r2c2)=R4−A _(R)*(IR1+IR2+IR3+IR4)/4, G(r1c1)=(G3+G4)/2−A _(G)*(IR1+IR2+IR3+IR4)/4, B(r2c2)=(B2+B4)/2−A _(B)*(IR1+IR2+IR3+IR4)/4, and IR(r2c2)=(IR1+IR2+IR3+IR4)/4, where A_(R), A_(G), and A_(B) are the selected factors for said first pixels, said second pixels and said third pixels, respectively, and where R(rx,cx) is the first color value for the respective pixel location, G(rx,cx) is the second color value for the respective pixel location, B(rx,cx) is the third color value for the respective pixel location, and IR(rx,cx) is the infrared value for the respective pixel location, and where Rx is an output value of said first pixel of a respective sub-array, Gx is an output value of said second pixel of a respective sub-array, Bx is an output value of said third pixel of a respective sub-array and IRx is an output value of said fourth pixel of a respective sub-array.
 6. The imaging system of claim 1, wherein said first pixel primarily senses color in a red spectral band, said second pixel primarily senses color in a green spectral band, and said third pixel primarily senses color in a blue spectral band.
 7. The imaging system of claim 1, wherein said processor is operable to generate an output indicative of either a color image or a monochromatic image.
 8. The imaging system of claim 7, wherein said processor generates said output indicative of a color image in response to an ambient light level being greater than a threshold level, and wherein said processor generates said output indicative of a monochromatic image in response to an ambient light level being lower than a threshold level.
 9. The imaging system of claim 1, wherein said imaging system is associated with at least one of an automatic headlamp control system, a lane departure warning system, an object detection system, a night vision system, a rain sensing system, and a reverse aid system.
 10. The imaging system of claim 1 further comprising a near infrared illumination source for emitting near infrared energy at the scene imaged by said imaging device.
 11. The imaging system of claim 1, wherein said imaging system provides infrared information to enhance identification accuracy of traffic signs.
 12. The imaging system of claim 11, wherein said imaging system is for an intelligent headlamp control system.
 13. The imaging system of claim 12, wherein said imaging system provides a pulse width modulated infrared headlamp output to enhance identification accuracy of traffic signs for said intelligent headlamp control system.
 14. The imaging system of claim 1, wherein said fourth pixel senses primarily near infrared radiation.
 15. The imaging system of claim 1 further comprising a display for displaying images responsive to said image processor. 